//
//  BLAlertController.h
//  UIAlertController
//
//  Created by 宝龙 on 16/5/28.
//  Copyright © 2016年 宝龙. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^ActionBlock) (UIViewController *controller, UIAlertAction *action, NSString *actionAlertName);

@interface BLAlertController : UIAlertController
#pragma mark - AlertStyle
//确定取消其他键
+ (instancetype)blAlertStyleWithAlertStyleForController:(UIViewController *)viewController withTitle:(NSString *)title message:(NSString *)message  determineButtonTitle:(NSString *)determineButtonTitle cancelButtonTitle:(NSString *)cancelButtonTitle otherButtonTitles:(NSArray *)otherButtonTitles ActionBlock:(ActionBlock)AtionBlock;

//确定取消键
+ (instancetype)blAlertStyleWithAlertStyleForController:(UIViewController *)viewController withTitle:(NSString *)title message:(NSString *)message  determineButtonTitle:(NSString *)determineButtonTitle cancelButtonTitle:(NSString *)cancelButtonTitle  ActionBlock:(ActionBlock)AtionBlock;

//确定键
+ (instancetype)blAlertStyleWithAlertStyleForController:(UIViewController *)viewController withTitle:(NSString *)title message:(NSString *)message  determineButtonTitle:(NSString *)determineButtonTitle  ActionBlock:(ActionBlock)AtionBlock;

#pragma mark - SheetStyle
//确定取消其他键
+ (instancetype)blAlertStyleWithSheetStyleForController:(UIViewController *)viewController withTitle:(NSString *)title message:(NSString *)message cancelButtonTitle:(NSString *)cancelButtonTitle determineButtonTitle:(NSString *)determineButtonTitle otherButtonTitles:(NSArray *)otherButtonTitles ActionBlock:(ActionBlock)AtionBlock;
//确定取消键
+ (instancetype)blAlertStyleWithSheetStyleForController:(UIViewController *)viewController withTitle:(NSString *)title message:(NSString *)message cancelButtonTitle:(NSString *)cancelButtonTitle determineButtonTitle:(NSString *)determineButtonTitle ActionBlock:(ActionBlock)AtionBlock;






@end
